From: Jasper St. Pierre Date: Thu, 27 Nov 2014 02:05:36 +0000 (-0800) Subject: overview: Set _shown before calling _animateNotVisible X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1953 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=977448b6bc7942dd1976009d86d702325e084f65;p=gnome-shell.git overview: Set _shown before calling _animateNotVisible _hideDone checks _shown to determine if anything has shown the overview while we hid it, and if so, shows the overview forward just in case. In a local patch that called _hideDone immediately inside _hide for testing, this broke. While we don't actually depend on this anywhere, it doesn't hurt so that the next person to hack this up (perhaps me!) doesn't get stuck debugging it for 20 minutes. --- diff --git a/js/ui/overview.js b/js/ui/overview.js index c89fef5d2..4da62436c 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -605,9 +605,9 @@ const Overview = new Lang.Class({ return; } - this._animateNotVisible(); - this._shown = false; + + this._animateNotVisible(); this._syncGrab(); },